package com.bootdo.goods.dao;

import com.bootdo.goods.domain.GoodstypeDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 商品类别
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-03-02 18:22:13
 */
@Mapper
public interface GoodstypeDao {

	GoodstypeDO get(Integer id);
	
	List<GoodstypeDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GoodstypeDO goodstype);
	
	int update(GoodstypeDO goodstype);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
